﻿<UserControl x:Class="Marking.Dashboard.Views.Sales.CycleSearchView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" 
    mc:Ignorable="d"
    d:DesignHeight="300" d:DesignWidth="400">
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="Styles/Style.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    
    <Grid x:Name="LayoutRoot" Background="White">
        <StackPanel Style="{StaticResource H2ContainerStyle}">
            <StackPanel Orientation="Horizontal">
                <TextBlock Text=" （周期类型：" Style="{StaticResource H2TextStyle}"/>
                <ComboBox ItemsSource="{Binding CircleTypes}" SelectedValue="{Binding CurrentCircleType, Mode=TwoWay}" VerticalAlignment="Center"/>
                <TextBlock Text="起始日期：" Style="{StaticResource H2TextStyle}"/>
                <sdk:DatePicker SelectedDate="{Binding StartDate, Mode=TwoWay}" VerticalAlignment="Center"/>
                <TextBlock Text="截止日期：" Style="{StaticResource H2TextStyle}"/>
                <sdk:DatePicker SelectedDate="{Binding EndDate, Mode=TwoWay}" VerticalAlignment="Center"/>
                <TextBlock Text="） " Style="{StaticResource H2TextStyle}" Margin="0"/>
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
